<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-08-19 14:45:00
 * @LastEditTime: 2019-08-19 15:34:49
 * @LastEditors: Please set LastEditors
 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

</body>
<script>
    (function () {
        var date = new Date();
        var date2 = new Date();
        date.setDate(date.getDate() + 7);
        var ci = document.cookie = "name=xiaoming;expires=" + date.toUTCString();
        date2.setDate(date.getDate() - 7);
        document.cookie = "name=;expires=" + date2.toUTCString();
    })();
</script>

</html>